const queryString = (url) => {
    let data = {}
    url = url.split('?')[1]
    if (url) {
        url = url.split('&')
        for (let item of url) {
            item = item.split('=')
            data[item[0]] = encodeURIComponent(item[1])
        }
    }
    return data
}
